package com.ruoyi.service.impl;

import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;

import com.ruoyi.entity.po.TPlayerLiveData;
import com.ruoyi.mapper.TPlayerLiveDataMapper;
import com.ruoyi.service.IPlayerLiveDataService;

import java.util.List;

/**
 * @author chenhainan
 * @since 2024-12-15 16:45
 */
@Service
public class TPlayerLiveDataServiceImpl implements IPlayerLiveDataService {

    @Autowired
    private TPlayerLiveDataMapper tPlayerLiveDataMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tPlayerLiveDataMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TPlayerLiveData record) {
        return tPlayerLiveDataMapper.insert(record);
    }

    @Override
    public int insertSelective(TPlayerLiveData record) {
        return tPlayerLiveDataMapper.insertSelective(record);
    }

    @Override
    public TPlayerLiveData selectByPrimaryKey(Integer id) {
        return tPlayerLiveDataMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TPlayerLiveData record) {
        return tPlayerLiveDataMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TPlayerLiveData record) {
        return tPlayerLiveDataMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<TPlayerLiveData> selectList(Integer playerId) {
        return tPlayerLiveDataMapper.selectList(playerId);
    }
}
